
package math;

/**
 * 測試四捨五入取整數
 * <br>
 * Copyright: Copyright (c) 2001-2007<br>
 * Company: 一零四資訊科技股份有限公司
 * 
 * @author Eric.Kao(eric.kao@104.com.tw)
 * @version 1.0
 */
public class MathRound
{
	public MathRound()
	{
		int length = 5;

		int value = Math.round( length * 1.1f );

		System.out.println( "value:" + value );
	}

	public static void main( String[] args )
	{
		new MathRound();
	}
}
